home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000170_news@newsmaster….columbia.edu _Tue May 6 13:51:55 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA28014
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 6 May 1997 13:51:50 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA21205
  7.     for kermit.misc@watsun; Tue, 6 May 1997 13:51:50 -0400 (EDT)
  8. From: arthur@gateway.dircsa.org.au (Arthur Marsh)
  9. Newsgroups: comp.protocols.kermit.misc
  10. Subject: serial - network - serial connection
  11. Date: 7 May 1997 03:13:23 +0930
  12. Organization: DIRC - Disability Information & Resource Centre - Sth Australia
  13. Lines: 88
  14. Message-ID: <5knqjr$q1n@gateway.dircsa.org.au>
  15. NNTP-Posting-Host: apache.dircsa.org.au
  16. X-Newsreader: TIN [version 1.1 PL8]
  17. Path: news.columbia.edu!panix!news.mathworks.com!europa.clark.net!feed1.news.erols.com!news.ecn.uoknor.edu!munnari.OZ.AU!news.mel.connect.com.au!news.ade.connect.com.au!duster.adelaide.on.net!news.camtech.net.au!news.dircsa.org.au!news.dircsa.org.au!not-for-mail
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:6994
  19.  
  20. Hi, I'm trying to set up a serial - network - serial connection using
  21. C-Kermit 6.0.192 and UnixWare 1.1.2. The object is to get an 8-bit 
  22. transparent connection that goes away when either serial connection closes,
  23. and successfully tranfers data otherwise.
  24.  
  25. I'm trying everything on the one machine to begin with:
  26.  
  27. First serial connection (controling terminal):
  28.  
  29. Logs on, runs the following script:
  30.  
  31. NOPUSH
  32. SET CARRIER ON 1
  33. SET COMMAND BYTESIZE 8
  34. SET EXIT WARNING OFF
  35. SET QUIET ON
  36. SET TERMINAL AUTODOWNLOAD OFF
  37. SET TERMINAL BYTESIZE 8
  38. SET TERMINAL CHARACTER-SET TRANSPARENT
  39. SET TERMINAL ESCAPE DISABLED
  40. SET TERMINAL APC OFF
  41. SET PARITY NONE
  42. SET NETWORK TCP/IP
  43. SET TELNET BINARY REQUESTED
  44. SET TELNET BUG BINARY-ME-MEANS-U-TOO ON
  45. SET HOST LOCALHOST
  46. CONNECT
  47.  
  48. stty -a output on the controlling terminal when using the above except
  49. push enabled, and push'd to the shell:
  50.  
  51. speed 38400 baud; 
  52. intr = ^c; quit = ^|; erase = ^h; kill = ^u;
  53. eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
  54. start = ^q; stop = ^s; susp = ^z; dsusp = <undef>;
  55. rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
  56. -parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -parext 
  57. -ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc 
  58. -ixon -ixany -ixoff -imaxbel 
  59. isig icanon -xcase echo echoe echok -echonl -noflsh 
  60. -tostop -echoctl -echoprt -echoke -defecho -flusho -pendin -iexten 
  61. opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3 
  62. rtsxoff ctsxon -dtrxoff -cdxon -isxoff xcibrg rcibrg tsetcoff rsetcoff 
  63. -isscancode 
  64.  
  65. Stallion bccstty -v -d /dev/tty0 output on the controlling terminal:
  66.  
  67. (board=0,panel=0,major=98,minor=128,stubindex=0)
  68. rtslock ctslock -maprts -mapcts -dtrfollow -fakedcd 
  69. -modem onboard -ioctlwait timeout=60 -rxthold -halfstop -loopback 
  70. baudfrom=0 baudto=0
  71. (device is not a session errno=5)
  72.  
  73. A login is performed that runs the following kermit script (leaving out
  74. error-checking):
  75.  
  76. NOPUSH
  77. SET CARRIER ON 1
  78. SET COMMAND BYTESIZE 8
  79. SET EXIT WARNING OFF
  80. SET QUIET ON
  81. SET TERMINAL AUTODOWNLOAD OFF
  82. SET TERMINAL BYTESIZE 8
  83. SET TERMINAL CHARACTER-SET TRANSPARENT
  84. SET TERMINAL ESCAPE DISABLED
  85. SET TERMINAL APC OFF
  86. SET PARITY NONE
  87. set line /dev/tty2
  88. hangup
  89. hangup
  90. set line /dev/tty2
  91. SET SPEED 19200
  92. SET FLOW RTS/CTS
  93. pause 1
  94. output \13
  95. connect
  96. clear
  97. hangup
  98. hangup
  99. quit
  100.  
  101. This appears to generally work, allowing 8-bit transparent connections with
  102. adequate flow control, but I'm open to suggestions on improving it.
  103.  
  104. -- 
  105. Arthur Marsh, telephone +61-8-8370-2365, fax +61-8-8223-5082 
  106.               arthur@dircsa.org.au
  107. .endofsig